FilesService

Constructors

Link copied to clipboard
constructor(client: PocketbaseClient)

Types

Link copied to clipboard

The currently supported Pocketbase thumb formats

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Generates a temporary token for accessing protected files The client must be authenticated to use this function

Link copied to clipboard
fun getFileURL(record: Record, filename: String, thumbFormat: FilesService.ThumbFormat? = null, token: String? = null, download: Boolean = false): String

Gets the url to a file in Pocketbase